<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML>
<html>
	<head>
		<base href="<%=basePath%>">
		<title>房间信息</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<link rel="stylesheet" href="css/common.css"/>
		<link rel="stylesheet" href="css/bootstrap.css">
		<link rel="stylesheet" href="css/cmxform.css">
		<link rel="stylesheet" href="js/uploadify/uploadify.css"type="text/css">
		<link rel="stylesheet" href="css/vivo.css">
		
		<link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" />
		<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" />
		
		<!-- <script type="text/javascript"src="js/uploadify/jquery.uploadify.min.js"></script> -->
		<script type="text/javascript" src="js/form.js"></script>
		
		<script src="js/jquery-1.11.1.js"></script>
		<!-- grid.simple.min.css, grid.simple.min.js -->
		<style type="text/css">
			.primary-vdd {
			color: #fff;
			font-size:14px;
			background-color: #5a98de;
			border-color: #5a98de;
			border-radius:4px;
			text-align: center;
			height:31px
			}

			.primary-vdd:hover
				{
				font-size:14px;
				color: #fff;
				background-color: #0a6999;
				border-color: #0a6999;
				border-radius:4px;
				text-align: center;
				height:31px
			}
			
		</style>
		<link rel="stylesheet" href="js/grid/bsgrid.all.min.css" />
		<script type="text/javascript" src="js/grid/grid.zh-CN.min.js"></script>
		<script type="text/javascript" src="js/grid/bsgrid.all.min.js"></script>
		<script type="text/javascript" src="js/layer/layer/layer.js"></script>
		<script type="text/javascript" src="js/sharefunction.js"></script>
		<script type="text/javascript" src="static/h-ui/js/H-ui.js"></script>
		<script type="text/javascript"src="static/h-ui.admin/js/H-ui.admin.js"></script>
		<script type="text/javascript" src="js/init.js"></script>
		
		
		
		<script type="text/javascript">
		$(document).ready(function() { 
			var archiveState = $("#archiveState").html();
			showPanel(archiveState);
								 
		}); 
		
		//预览图片
		function yulanText(){
			var attids = $("#attids").val();
			var url = "customer/customerDecoration/showImgs/"+attids;
			window.open(url);
		}
		
		//控制公司/个人面板显示 隐藏
   		//function showPanel(val){
   		//	if(val=="0"){
   		//		$("#panel0").show();
   		//		$("#panel1").hide();
   		//	}else{
   		//		$("#panel0").hide();
   		//		$("#panel1").show();
   		//	}
   		//}
   	</script>
	</head>

	<body>
		<div class="page-container" style="padding:20px 20px 0px 20px;">
			<div id="usual1" class="usual">
				<div class="itab">
					<ul>
						<li>
							<a href="#tab0" class="selected">基本信息</a>
						</li>
						<li>
							<a href="#tab1" >入住记录</a>
						</li>
						<li>
							<a href="#tab2">二装记录</a>
						</li>
						<li>
							<a href="#tab3">表具记录</a>
						</li>
						<li>
							<a href="#tab4">室内装饰管理</a>
						</li>
						<li>
							<a href="#tab5">室内使用管理</a>
						</li>
						<li>
							<a href="#tab6">宠物管理</a>
						</li>
						<li>
							<a href="#tab7">车辆管理</a>
						</li>
						<li>
							<a href="#tab8">特定事件记录</a>
						</li>
						<li>
							<a href="#tab9">所有人信用</a>
						</li>
					</ul>
				</div>
				<div id="tab0" class="tabson" style="height:500px">
					<div class="mt-20">
						<div>
					<table class="table table-bordered" width="100%">
							<tr>
				    			<td width="15%;">所属楼栋</td>
				    			<td width="30%;">
				    				<b>${roomInfo.buildingInfo.buildingName }</b>
				    			</td>
				    			<td width="15%;">房间号</td>
				    			<td width="40%;">
				    				<b>${roomInfo.roomNumber }</b>
				    			</td>
				    		</tr>
				    		<tr>
				    			<td>单元号</td>
									<td>
									<b>${roomInfo.unitNumber }</b>	
			    					</td>		    			
			    					<td>室号全称</td>
				    				<td>
				    				<b>${roomInfo.roomName }</b>	
			    				</td>
				    		</tr>
				    		<tr>
				    			<td>所在楼层</td>
				    			<td>
				    				<b>${roomInfo.floor }</b>
				    			</td>
				    			<td>建筑面积</td>
				    			<td>

				    				<b>${roomInfo.coveredArea }&nbsp;㎡</b>

				    				

				    			</td>
				    		</tr>
				    		<tr>
				    			<td>使用面积</td>

				    			<td><b>${roomInfo.useArea }&nbsp;㎡</b>

				    			</td>
				    			<td>朝向</td>
				    			<td>
				    				<b>${roomInfo.orientations }</b>
				    			</td>
				    		</tr>
				    		<tr>
				    			<td>房型</td>
				    			<td><b>${roomInfo.fkRoomtype }</b>
				    			</td>
				    			<td>楼层内次序</td>
				    			<td>
				    				<b>${roomInfo.sortNum }</b>
				    			</td>
				    		</tr>
				    		<tr>
			    				<td>租售状态</td>
			    				<td><b>${leaseState }</b></td>
			    				<td>归档状态</td>
			    				<td><b id="archiveState">${archiveState }</b></td>
			    			</tr>
			    			<tr>
			    				<td>设备信息</td>
			    				<td colspan="3"><b>${roomInfo.deviceRemark}</b></td>
			    			</tr>
			    			<tr>
			    				<td>房间平面图</td>
			    				<td colspan="3" id="yulan"><b>
									<span id="att_images">
										<c:if test="${AttachmentsList!=null}">
											<c:forEach items="${AttachmentsList}" var="list" varStatus="status">
												${ status.index + 1}.&nbsp;&nbsp;${list.fileName}(${list.fileSize})&nbsp;<br>
											</c:forEach>
											<a id="showImg" href='javascript:void(0)' style='cursor:pointer;color:#06c' onClick="yulanText();" >预览</a><br>
										</c:if>
									</span>
			    				</td>
			    			</tr>
			    			<tr id="panel2">
			    				<td>归档原因</td>
			    				<td colspan="3"><b>${roomInfo.archiveReason }</b></td>
			    			</tr>
			    			
			    			
					</table>
				</div>
						
					</div>


				</div>
				<div id="tab1" class="tabson">
					<!-- 房间基本信息start -->
					
					<div>
						
							<div class="mt-20">
								<table id="searchTable12" width="100%">
									<tr>
										<th w_index="no" width="3%;">
											序号
										</th>
										<th w_index="customerName" width="20%;">
											住户名称
										</th>
										<th w_index="rentOrBuy" width="18%;">
											租售类型
										</th>
										<th w_index="customerType" width="10%;">
											住户类别
										</th>
										<th w_index="sta" width="14%;">
											状态
										</th>
										<th w_index="checkinTime" width="14%;">
											入住日期
										</th>
										<th w_index="checkOutTime" width="14%;">
											迁出日期
										</th>
										<th w_index="opt" width="8%;" w_render="Data12">
											操作
										</th>
										<th w_hidden="true" w_index="id">
											id
										</th>
									</tr>
								</table>
								<script type="text/javascript">
							var gridObj;
							$(function () {
								var roomId =　"${roomInfo.id}";
								gridObj = $.fn.bsgrid.init('searchTable12', {
									url: "customer/customerCheckin/getJsonData1",
									autoLoad: true,
									pageSizeSelect: true, 
									multiSort: true ,
									displayBlankRows: false ,
									pagingLittleToolbar: true,
									stripeRows: true,
									rowHoverColor: true,
									pageSize: 15,
									otherParames:{"roomId":roomId},
									curPage:1
								});
								$("#searchTable12_pt_outTab").css("width","98%")
								
							});

							function showPanel(val){
								if(val=='正常'){
									$("#panel2").hide();
								}else{
									$("#panel2").show();
								}
							}
			
							//操作
							function Data12(record, rowIndex, colIndex, options) {
								var html="";
								var id = gridObj.getRecordIndexValue(record, 'id');
								var customerName = gridObj.getRecordIndexValue(record, 'customerName');
								//var elementids2 = $("#sys_permissionids").val();
								//if(elementids2.indexOf("check_in_btn_details")!=-1){
								html+=" <a  href=javascript:detail12(this,'"+id+"','客户-"+customerName+"') data-title='"+customerName+"'>查看详情</a>"
							//} else{
						//html = "<a style='cursor:text'>--</a>";
					//}
									return html;
							}												
							//显示详情 
							function detail12(obj,id,cName){
							var url = "project/roomInfo/todetail1/"+id;
							$(obj).attr('data-title',cName);
							$(obj).attr('_href',url);
							Hui_admin_tab(obj);
						}
						</script>
							
						</div>
						<!-- 房间End -->
					</div>
					<!-- 客户基本信息End -->
				</div>
				<div id="tab2" class="tabson">

					<div class="mt-20">
						<table id="searchTable6" width="100%">
							<tr>
								<th w_index="xh" width="3%;">
									序号
								</th>
								<th w_index="custumerName" width="20%;">
									客户名称
								</th>
								<th w_index="companyName" width="20%;">
									装修公司名称
								</th>
								<th w_index="projectManager" width="15%;">
									施工负责人
								</th>
								<th w_index="projectManagerTel" width="15%;">
									联系方式
								</th>
								<th w_index="isFirePermit" width="8%;">
									是否有消防批文
								</th>
								<th w_index="threeCertificatesState" width="5%;">
									三证状态
								</th>
								<th w_index="opt" width="15%;" w_render="Data6">
									操作
								</th>
								<th w_hidden="true" w_index="id">
									id
								</th>
							</tr>
						</table>
						<script type="text/javascript">
							var gridObj6;
							$(function () {
								var roomId ="${roomInfo.id}";
								
								gridObj6 = $.fn.bsgrid.init('searchTable6', {
									url: "customer/customerDecoration/getlisttwo",
									autoLoad: true,
									pageSizeSelect: true, 
									multiSort: true ,
									displayBlankRows: false ,
									pagingLittleToolbar: true,
									stripeRows: true,
									rowHoverColor: true,
									pageSize: 15,
									otherParames:{"roomId":roomId},
									curPage:1
								});
								$("#searchTable6_pt_outTab").css("width","98%")
							});
							
							//操作
							function Data6(record, rowIndex, colIndex, options) {
								var html="";;
								var id = gridObj6.getRecordIndexValue(record, 'id');
								
								//var elementids2 = $("#sys_permissionids").val();
								//if(elementids2.indexOf("two_loading_records_look")!=-1){
								html = "<a href=javascript:edit6('"+id+"');>查看</a>";
							//}else{
						//html = "<a style='cursor:text'>--</a>";
					//}
								return html;
							}

							function edit6(id){
							var customerid=$("#id").val();
							var url="customer/customerDecoration/toedit6/"+id+"_"+customerid;
							openTitleLayer("查看详情",url,750,460);
						}
							
						</script>


					</div>


				</div>
				<div id="tab3" >
					
					<div class="cl pd-5 bg-1 bk-gray" style="background-color: #f5fafe; border: solid 1px #eee; padding: 8px; margin-bottom: 20px;height: 47px;width:98%;"  id="p_common" >
							<a style='display:none' id='table_with_a_record_add' class='btn btn-primary primary-vdd' onClick='openAdd(this)' >新  增</a>	
						</div>
					
					<table id="searchTable" style='cursor:pointer'>
						<tr>
							<th w_index="no" width="2%;" style='cursor:auto'>
								序号
							</th>
							<th w_index="watchName" width="10%;" style='cursor:auto'>
								表具名称
							</th>
							<th w_index="watchNo" width="10%;" style='cursor:auto'>
								表具编号
							</th>
							<th w_index="watchType" width="10%;" style='cursor:auto'>
								类别
							</th>
							<th w_index="reading" width="12%;" style='cursor:auto'>
								当前读数
							</th>
							<th w_index="readTime" width="10%;" style='cursor:auto'>
								当前读取日期
							</th>
							<th w_index="opt" width="8%;" w_render="Data" style='cursor:auto'>
								操作
							</th>
							<th w_hidden="true" w_index="id">
								id
							</th>
							<th w_hidden="true" w_index="addUserid" >addUserid</th>
						</tr>
					</table>
					<script type="text/javascript">
						var gridObj;
						$(function () {
							var roomInfoId =　"${roomInfo.id}";
							gridObj = $.fn.bsgrid.init('searchTable', {
								url: "room/roomWatch/getJsonData1",
								autoLoad: true,
								pageSizeSelect: true, 
								multiSort: true ,
								displayBlankRows: false ,
								pagingLittleToolbar: true,
								stripeRows: true,
								rowHoverColor: true,
								pageSize: 15,
								otherParames:{"roomInfoId":roomInfoId},
								curPage:1,
								event:{
								 
                				selectRowEvent: function (record, rowIndex, trObj, options) {
                   			    var id=gridObj.getRecordIndexValue(record, 'id');
                   			    var watchType=gridObj.getRecordIndexValue(record, 'watchType');
                   				
                   				var indext;
                   				if(watchType=="冷水表"){
								indext=1;
							}else if(watchType=="热水表"){
								indext=1;
							}else{
								indext=2;
							}
                   				document.getElementById("biaojuliebiao").style.display='';	
                   				document.getElementById("xinzengbianjidushu").style.display='';
                   				$("#id1").val(id);
							    $("#url1").val(indext);
							    $("#watchType").val(watchType);
							    var recordId=id;
							    var params="";
							    params="&recordId="+recordId+"&indext="+indext;
								gridObj4.options.otherParames=params;
                   				gridObj4.refreshPage();
                   					
               					 }
               					}
               					
							});
							$("#searchTable_pt_outTab").css("width","98%")
						});
						
						//操作
						function Data(record, rowIndex, colIndex, options) {
							var html="";
							var id = gridObj.getRecordIndexValue(record, 'id');
							var watchType = gridObj.getRecordIndexValue(record, 'watchType');
							//html = "<a href=javascript:edit('"+id+"');>编辑</a>";
							var addUserid = gridObj.getRecordIndexValue(record, 'addUserid');
							var sys_userid = $("#sys_userid").val();
							var sys_user_id=$("#sys_user_id").val();
							var elementids2 = $("#sys_permissionids").val();
							if(elementids2.indexOf("table_with_a_record-edit")!=-1 ||addUserid.indexOf(sys_userid)!=-1 ||addUserid.indexOf(sys_user_id)!=-1 ){
							html = " &nbsp; &nbsp; <a  href=javascript:edit('"+id+"'); >编辑</a>";
						}else{
						html = "<a style='cursor:text'>--</a>";
					}	
							if(elementids2.indexOf("table_with_a_record_del")!=-1 ||addUserid.indexOf(sys_userid)!=-1 ||addUserid.indexOf(sys_user_id)!=-1){
							html+=" &nbsp; &nbsp; <a  href=javascript:doDel('"+id+"'); >删除</a>";
						}else{
						html += " &nbsp; &nbsp;<a style='cursor:text'>--</a>";
					}						
							return html;
						} 
						
						function openAdd(obj) {
								var roomInfoId =　"${roomInfo.id}";
								var url="room/roomWatch/form/"+roomInfoId;
								var typeChoice=$("#typeChoice").val();
								openTitleLayer("新增表具",url,900,500);
						}
						function edit(id){
							var roomInfoId =　"${roomInfo.id}";
							var ids = id+","+roomInfoId;
							var url="room/roomWatch/toedit/"+ids;
							openTitleLayer("编辑表具",url,900,520);						
						}
						
						//删除
						function doDel(id){
						
							var url="room/roomWatch/del";
							layer.confirm("您确定删除吗？", {icon: 3}, function(index){
								jQuery.ajax({
							        type:"post",
							        async:false,
							        url:url,
							        data:{id:id},
							        success:function(data){
							            if(data.success){
							            			gridObj.refreshPage(); 
			        		 						layer.msg('删除成功！');
			        		 						closeLayer();
							            		
							   	        }else{
							            	layer.alert(data.msg,{icon:7});
							            }
							            gridObj4.clearGridBodyData();  
							            document.getElementById("xinzengbianjidushu").style.display='none';
							        }
								})
							});
						}
					</script>

					<!-- 表具读数 -->
					<div id="biaojuliebiao" style="margin-top:100px">
						<div class="cl pd-5 bg-1 bk-gray" style="background-color: #f5fafe; border: solid 1px #eee; padding: 8px;display:none;height: 47px;width:98%;margin: 10px 0px 20px 0px;"   id="xinzengbianjidushu">
							<a style='display:none' id='table_with_a_record_data_add' class='btn btn-primary primary-vdd' onClick='openAdd4(this)'  >新增读数</a>	
						</div>													
						
						<table id="searchTable4">
							<tr>
								<th w_index="no" width="3%;">
									序号
								</th>
								<th w_index="watchType" width="10%;">
									表具类型
								</th>
								<th w_index="watchName" width="10%;">
									表具名称
								</th>
								<th w_index="customerName" width="10%;">
									客户名称
								</th>
								<th w_index="currentReading" width="12%;">
									当前读数
								</th>
								<th w_index="currentReadingDate" width="11%;">
									当前读取日期
								</th>
								<th w_index="lastReading" width="12%;">
									上次读数
								</th>
								<th w_index="lastReadingDate" width="10%;">
									读取日期
								</th>
								<th w_index="opt" width="8%;" w_render="Data4">
									操作
								</th>
								<th w_hidden="true" w_index="id">
									id
								</th>
								<th w_hidden="true" w_index="addUserid" >addUserid</th>
							</tr>
						</table>
						<input type="hidden" id="id1" name="id1">
						<input type="hidden" id="url1" name="url1">
						<input type="hidden" id="watchType" name="watchType">
						<script type="text/javascript">
					
						var gridObj4;
					
						$(function(){
						var recordId=$("#id1").val();
						var indext=$("#url1").val();      
						gridObj4 = $.fn.bsgrid.init('searchTable4',{
								url: "fee/feeWaterRecord/getJsonData1",
								autoLoad: false,
								pageSizeSelect: true, 
								multiSort: true ,
								displayBlankRows: false ,
								pagingLittleToolbar: true,
								stripeRows: true,
								rowHoverColor: true,
								pageSize: 15,
								otherParames:{"recordId":recordId,"indext":indext},
								curPage:1
							});
							$("#searchTable4_pt_outTab").show();
							$("#searchTable4_pt_outTab").css("width","98%");
						})				
						//操作
						function Data4(record, rowIndex, colIndex, options) {
							var html="";
							var id = gridObj4.getRecordIndexValue(record, 'id');
							var elementids2 = $("#sys_permissionids").val();
							
							var sys_user_id=$("#sys_user_id").val();
							var addUserid = gridObj.getRecordIndexValue(record, 'addUserid');
							var sys_userid = $("#sys_userid").val();
							html = " &nbsp; &nbsp; <a  href=javascript:look4('"+id+"'); >查看</a>";
						
							if(elementids2.indexOf("table_with_a_record-data-edit")!=-1 ||addUserid.indexOf(sys_userid)!=-1 ||addUserid.indexOf(sys_user_id)!=-1){
							html+= " &nbsp; &nbsp; <a href=javascript:edit4('"+id+"'); >编辑</a>";
						}else{
						html += "&nbsp; &nbsp; <a style='cursor:text'>--</a>";
					}	
							if(elementids2.indexOf("table_with_a_record-data-del")!=-1 ||addUserid.indexOf(sys_userid)!=-1 ||addUserid.indexOf(sys_user_id)!=-1){
							html+=" &nbsp; &nbsp; <a   href=javascript:doDel4('"+id+"'); >删除</a>";
						}else{
						html += "&nbsp; &nbsp; <a style='cursor:text'>--</a>";
					}
							return html;
						} 
						
						function openAdd4(obj) {
								var waterType = "";
								var roomInfoId =　"${roomInfo.id}";//房间id
								var watchId=$("#id1").val();   //表具id
								var watchType=$("#watchType").val();
								var url="";
								var rws=roomInfoId+","+watchId;
								if(watchType=="冷水表"){
									waterType=0;
								url="fee/feeWaterRecord/form1/"+rws+"_"+waterType;;
							}else if(watchType=="热水表"){
									waterType=1;
								   url="fee/feeWaterRecord/form1/"+rws+"_"+waterType;;
						}else{
									url="fee/feeElectricRecord/toAdd1/"+rws;
					}
								
								var typeChoice=$("#typeChoice").val();
								openTitleLayer("新增表具读数",url,900,550);
							}
							
						function edit4(id){
							var url="";
							var roomInfoId =　"${roomInfo.id}";//房间id
							var watchId=$("#id1").val();   //表具id
							var watchType=$("#watchType").val();
							var ids=id+","+roomInfoId+","+watchId;
							if(watchType=="冷水表"){
							url="fee/feeWaterRecord/toedit2/"+ids;
						}else if(watchType=="热水表"){
						    url="fee/feeWaterRecord/toedit2/"+ids;
						}else{
							url="fee/feeElectricRecord/toedit2/"+ids;
						}	
							var typeChoice=$("#typeChoice").val();
							openTitleLayer("编辑表具读数",url,900,550);						
						}
						
						function look4(id){
								var url="";
								var watchType=$("#watchType").val();
								if(watchType=="冷水表"){
								url="fee/feeWaterRecord/form2/"+id;
							}else if(watchType=="热水表"){
								   url="fee/feeWaterRecord/form2/"+id;
						}else{
									url="fee/feeElectricRecord/toAdd2/"+id;
					}	
								var typeChoice=$("#typeChoice").val();
							
							openTitleLayer("查看表具读数",url,900,550);						
						}
						
						//删除
						function doDel4(id){
								var watchId=$("#id1").val();   //表具id
								var url="";
								var watchType=$("#watchType").val();
								if(watchType=="冷水表"){
								url="fee/feeWaterRecord/delete";
							}else if(watchType=="热水表"){
								   url="fee/feeWaterRecord/delete";
						}else{
									url="fee/feeElectricRecord/delete";
					}
							layer.confirm("您确定删除吗？", {icon: 3}, function(index){
								jQuery.ajax({
							        type:"post",
							        async:false,
							        url:url,
							        data:{id:id,
							        	watchId:watchId
							        },
							        success:function(data){
							            if(data.success){
							            		gridObj4.refreshPage();
							            		gridObj.refreshPage();
			        		 					layer.msg('删除成功！');
			        		 					closeLayer(); 
							   	        }else{
							            	layer.alert(data.msg,{icon:7});
							            }
							         
							         
							            
							            
							        }
								})
							});
						}
					</script>
					</div>
				</div>
				
				<div id="tab4" class="tabson">
					<div class="itab">
						<ul>
							<li>
								<a href="#tab4-1" class="selected">装修审核</a>
							</li>
							<li>
								<a href="#tab4-2" >装修管理</a>
							</li>
							<li>
								<a href="#tab4-3">装修验收</a>
							</li>
						</ul>
					</div>
				<!-- 装修审核start -->
				<div id="tab4-1" class="tabson">
					 <%@include file="./roomInfo-Decorate/decorate-check.jsp" %>
				</div>
				 <!-- 装修审核end -->
				 <!-- 装修管理start -->
				 <div id="tab4-2" class="tabson">
				 	 <%@include file="./p_detail/decorationManage-list.jsp"%>
				 </div>
				 <!-- 装修管理end -->
				  <!-- 装修验收start -->
				 <div id="tab4-3" class="tabson">
				 	 <jsp:include page="./p_detail/decorationCheck-list.jsp"></jsp:include>
				 </div>
				 <!-- 装修验收end -->
			 </div>
			 <!-- 室内使用管理start -->
			 <div id="tab5" class="tabson">
				 <%@include file="./p_detail/indoorManage-list.jsp" %>
			 </div>
			  <!-- 室内使用管理end -->
			  <!-- 宠物管理start -->
			  <div id="tab6" class="tabson">
				 <%@include file="./pet/petList.jsp" %>
			 </div>
			  	
			  <!-- 宠物管理end -->
			  <!-- 车辆管理start -->
			 <div id="tab7" class="tabson">
				 <%@include file="./p_detail/carManage-list.jsp" %>
			 </div>
			  <!-- 车辆管理end -->
			  <!-- 特定事件记录start -->
			 <div id="tab8" class="tabson">
			 	<%@include file="./p_detail/eventRecord-list.jsp" %>
			 </div>
			  <!-- 特定事件记录end -->
			  <!-- 所有人信用start -->
			 <div id="tab9" class="tabson">
			 	<%@include file="./p_detail/customerCredit-list.jsp" %>
			 </div>
			  <!-- 所有人信用end -->
		</div>
					
	</div>
				
				
				
</div>



	<script type="text/javascript"> 
      	$("#usual1 ul").idTabs(); 
    </script>

	<jsp:include page="/upload-field.jsp"></jsp:include>

	<div style="display: none">
	<input id="id" name="id" value="${cInfo.id}" />
			</div>
		</div>
		<jsp:include page="../common-field.jsp"></jsp:include>		
	</body>
</html>
